Knowledge-based Software Test Generation
نویسندگان
چکیده
Enriching test oracles with a test expert’s mental model of error prone aspects of software, and granting control to them to specify custom coverage criteria and arbitrary test cases, can potentially improve the quality of automatically generated test suites. This paper reports our investigation on the application of knowledge engineering techniques in automated software testing to increase the the control of test experts on test generation; ontologies and rules are used to specify what needs to be tested and reasoning is used for identification of test objectives, for which test cases are generated. An architecture of the ontology-based approach to testing is presented and a prototype which is implemented for unit testing is described with a case study.
منابع مشابه
EFSM-Based Test Case Generation: Sequence, Data, and Oracle
Model-based testing has been intensively and extensively studied in the past decades. Extended Finite State Machine (EFSM) is a widely used model of software testing in both academy and industry. This paper provides a survey on EFSM-based test case generation techniques in the last two decades. All techniques in EFSM-based test case generation are mainly classified into three parts: test sequen...
متن کاملTest Data Generation for Web Applications: A Constraint and Knowledge-based Approach
Software testing is an important part of the software development process. Much work been has done on automating various parts of testing. In previous work, we had proposed a knowledge-based approach to generate test scenarios for Web applications. However, our previous work did not account for generation of actual test data. Thus, in order to execute the test scenarios, the user would need to ...
متن کاملAn Ontology-based Software Test Generation Framework
In automated test generation, granting control to test experts over test selection can enhance quality of generated test suites. However, in many cases test experts’ control is limited and they can not define custom coverage criteria. This work proposes a general framework for application of knowledge engineering to software testing, which facilitates specification of custom coverage criteria a...
متن کاملOptimizing Cost Function in Imperialist Competitive Algorithm for Path Coverage Problem in Software Testing
Search-based optimization methods have been used for software engineering activities such as software testing. In the field of software testing, search-based test data generation refers to application of meta-heuristic optimization methods to generate test data that cover the code space of a program. Automatic test data generation that can cover all the paths of software is known as a major cha...
متن کاملAn Integrated Classification-Tree Methodology for Test Case Generation
This paper describes an integrated methodology for the construction of test cases from functional specifications using the classification-tree method. It is an integration of our extensions to the classificationhierarchy table, the classification tree construction algorithm, and the classification tree restructuring technique. Based on the methodology, a prototype system ADDICT, which stands fo...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2009